import request from '@/utils/request'

// 高级线索类型列表
export function comleadstypeList(params?: any) {
    return request.get({ url: '/comleads.comleadstype/lists', params })
}

// 添加高级线索类型
export function comleadstypeAdd(params: any) {
    return request.post({ url: '/comleads.comleadstype/add', params })
}

// 编辑高级线索类型
export function comleadstypeEdit(params: any) {
    return request.post({ url: '/comleads.comleadstype/edit', params })
}

// 所有高级线索类型
export function comleadstypeAll(params: any) {
    return request.post({ url: '/comleads.comleadstype/all', params })
}

// 删除高级线索类型
export function comleadstypeDelete(params: any) {
    return request.post({ url: '/comleads.comleadstype/delete', params })
}

//////////////////////高级线索列
// 联系高级线索列表
export function comleadsList(params?: any) {
    return request.get({ url: '/comleads.comleads/lists', params })
}

// 添加高级线索
export function comleadsAdd1(params: any) {
    return request.post({ url: '/comleads.comleads/add', params })
}

// 编辑高级线索
export function comleadsEdit(params: any) {
    return request.post({ url: '/comleads.comleads/edit', params })
}

// 删除高级线索
export function comleadsDelete(params: any) {
    return request.post({ url: '/comleads.comleads/delete', params })
}